package github.kawaiior.yuanchuxiuzhen.common.herb;

import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.util.text.TranslationTextComponent;

public interface IHerbEffect {

    /**
     *
     * @param player 实体玩家
     * @param fireLevel 异火等级 1-9
     * @param randomLevel 随机数 1-9
     */
    void onPlayerUse(PlayerEntity player, byte fireLevel, byte randomLevel);

    default TranslationTextComponent getHerbEffectTextComponent(byte fireLevel, byte randomLevel){
        return new TranslationTextComponent("pellet.effect.empty");
    }

}
